package org.logan.sample.web.base.engine;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.ui.ModelMap;
import org.springframework.web.context.request.WebRequest;
import org.springframework.web.context.request.WebRequestInterceptor;

public class ApiInterceptorWeb implements WebRequestInterceptor {
	private final Logger logger = LoggerFactory.getLogger(ApiInterceptorWeb.class);

	@Override
	public void preHandle(WebRequest request) throws Exception {
		logger.debug(request.getRemoteUser());
		
	}

	@Override
	public void postHandle(WebRequest request, ModelMap model) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void afterCompletion(WebRequest request, Exception ex) throws Exception {
		// TODO Auto-generated method stub
		
	}



}
